package com.easy.frame.servers.sys.client;

import com.easy.frame.base.basic.ServiceResponse;
import com.easy.frame.base.basic.pojo.SysExceptionLog;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 系统异常日志
 *
 * @author zzf
 * @date 2021/1/6 11:30
 */
@FeignClient(value = "sys", contextId = "sysExceptionLogClient")
@RequestMapping("/sys-exception-log")
public interface SysExceptionLogClient {

    @PostMapping
    ServiceResponse<SysExceptionLog> save(@RequestBody SysExceptionLog entity);

}
